﻿<UserControl x:Class="Supremacy.Client.Views.GalaxyGridView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:s="http://schemas.startreksupremacy.com/xaml/core"
             xmlns:scc="http://schemas.startreksupremacy.com/xaml/presentation">
  <Grid>
    <ScrollViewer CanContentScroll="True"
                  ScrollViewer.VerticalScrollBarVisibility="Visible"
                  ScrollViewer.HorizontalScrollBarVisibility="Visible">
      <s:GalaxyGridPanel x:Name="GalaxyGrid"
                         SelectedFleet="{Binding Path=SelectedTaskForce.Source, Mode=OneWay}"
                         SelectedSector="{Binding Path=SelectedSector, Mode=TwoWay}"
                         SelectedTradeRoute="{Binding Path=SelectedTradeRoute, Mode=TwoWay}"
                         SnapsToDevicePixels="True" />
    </ScrollViewer>
  </Grid>
</UserControl>
